<?php
function smarty_function_assign_array2($params, &$smarty)
{
	$params['var'][$params['key']] = array();
	$params['var'][$params['key']] = $params['value'];
	if (isset($params["assign"])) $smarty->assign($params['assign'], $params['var']);
	else $smarty->assign($params['var'], $params['var']);
	//else return $params['var'];
}
?>
